<template>
	<view class="wf-box">
		<view class="head" :style="{ paddingTop: navBarHeight }">
			<view class="head-np">
				<view class="back" @click="back()">
					<image src="../../static/img/chat-09.png"></image>
				</view>
				<view class="title">攻略</view>
				<view></view>
			</view>
		</view>

		<view class="main" :style="{ paddingTop: navBarHeight }">
			<view class="title">签到规则</view>
			<view class="text">每日签到</view>
			<view class="content">连续签到的前4天，每天分别获得1、2、3、4社交值， 第五天起：每日5社交值</view>
			<view class="text">额外签到奖励</view>
			<view class="content">7日签到奖励：每7天获得周礼包，当日可领取额外2社交值（共7社交值）。首次连续打卡奖励：首次连续签到28天获得100社交值奖励（只能领取一次）</view>
			<view class="hint">注意：如果每日签到被中断，则分数重置，重新从第一天算起</view>
		</view>
	</view>
</template>

<script>
	import navBarMixin from '@/mixin/navBarMixin.js'
	export default {
		data() {
			return {
				page: 1,
				tabIndex: 0,
			}
		},
		mixins: [navBarMixin],
		onLoad(option) {},
		methods: {
			details() {
				uni.navigateTo({
					url:'/pages/me/rechargeDetails'
				})
			},
			back() {
				uni.navigateBack()
			}
		},
	}
</script>

<style lang="scss" scoped>
	.wf-box {
		overflow: hidden;

		.back {
			image {
				width: 20rpx;
				height: 37rpx;
			}
		}

		.head {
			position: fixed;
			z-index: 333;
			width: 100%;
			background: #fff;

			.head-np {
				display: flex;
				justify-content: space-between;
				align-items: center;
				width: 100%;
				height: 96rpx;
				padding: 0 30rpx;
				box-sizing: border-box;

				.title {
					font-size: 36rpx;
					font-weight: bold;
				}
			}
		}

		.main {
			// margin-top: 126rpx;
			margin-top: 246rpx;
			margin: 126rpx 30rpx 60rpx;
			padding: 30rpx 30rpx 260rpx;
			background-color: white;
			border-radius: 10rpx;

			.title {
				font-weight: 500;
				font-size: 34rpx;
			}
			.text {
				font-size: 30rpx;
				margin: 40rpx 0 20rpx;
			}
			.content {
				font-size: 25rpx;
				color: #333333;
				line-height: 42rpx;
			}
			.hint {
				font-size: 23rpx;
				color: #999999;
				margin-top: 40rpx;
			}
		}
	}
</style>